Repository navigation
[FIX/#216] 오프라인 아카이브 기본 화면 유지 - #221
Conversation
975bd8a to
3a9ff9c
Compare
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
| UiState.Empty, is UiState.Success -> RouteeBgEllipse(modifier = modifier.fillMaxSize()) { | ||
| val data = (content as? UiState.Success)?.data ?: archiveContent(null, uiState.selectedMonth, emptyList()) | ||
| PullToRefreshBox( | ||
| isRefreshing = uiState.isRefreshing, |
There was a problem hiding this comment.
p2: Empty와 Success를 PullToRefreshBox 안으로 합치면서, 월을 옮기면 isRefreshing = true가 되어 당겨서 새로고침 스피너와 기존 로딩 표시가 같이 나오는데 맞을까요? 하나만 보이게 하면 좋을 것 같아요!
|
|
||
| fun onRecordChanged() { | ||
| member = null | ||
| memberRepository.clearCache() |
There was a problem hiding this comment.
p2: onRecordChanged가 다시 불러오기 전에 member와 두 저장소 캐시를 먼저 지워요. 이때 네트워크가 없으면 닉네임/일수/누적 횟수가 모두 비어지게되는데 다시 불러오기에 성공한 뒤에 캐시를 지우는 건 어떨까요?
| } | ||
| } | ||
| manager.registerDefaultNetworkCallback(callback) | ||
| trySend(currentNetworkState() == NetworkState.VALIDATED) |
There was a problem hiding this comment.
p2 : 첫 값을 currentNetworkState() == VALIDATED로 보내서, 네트워크 검증 중에는 false가 나가는거 맞을까요 ? 네트워크가 멀쩡한데도 잠깐 오프라인으로 처리될 수 있지는 않을까료..?
There was a problem hiding this comment.
세 리뷰 전부 반영했습니다~ 감사합니닷
3a9ff9c to
35a4b24
Compare
Related issue 🛠
Work Description ✏️
Screenshot 📸
테스트 데이터를 사용하고, 에뮬레이터의 실제 네트워크를 연결·해제하면서 촬영했습니다.
Uncompleted Tasks 😅
없음
To Reviewers 📢